//
//  DBTool.h
//  Eyeshot
//
//  Created by lanou3g on 15/7/3.
//  Copyright (c) 2015年 lanou3g.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DBTool : NSObject
//1.根据请求去沙盒中加载缓存数据
+ (NSArray *)dataArrayWithParams:(NSMutableDictionary *)params;
//2.存储数据
+ (void)saveArray:(NSArray *)dataArray;
//3.移除所有数据
+ (void)removeAllData;


/**缓存*/
//1.存取数据
+ (void)savePath:(NSString *)path title:(NSString *)titleStr;
//2.根据title查询数据
+ (NSString *)readPathTitle:(NSString *)titleStr;
//3.根据title删除数据
+ (void)deletePathByTitle:(NSString *)titleStr;

@end
